interface EsIndexInfoPage {
	total: number;
	size: number;
	current: number;
	data: EsAliasInfo[];
}

interface EsAliasInfo {
	index: string;
	aliases?: EsAliasInfoType[];
}

interface EsAliasInfoType {
	alias: string;
	is_write_index?: boolean;
	is_hidden?: boolean;
}

// {
//     "docs.count": "2",
//     "docs.deleted": "0",
//     "health": "green",
//     "index": "nullht-product-wide-table-issue-model-1.0.1.release-20221202165550",
//     "pri": "1",
//     "pri.store.size": "54.2kb",
//     "rep": "0",
//     "status": "open",
//     "store.size": "54.2kb",
//     "uuid": "JH3QZ-dkQfur70Fytc1uCg"
// }
interface EsIndexInfo {
	"docs.count": string;
	"docs.deleted": string;
	health: string;
	index: string;
	pri: string;
	"pri.store.size": string;
	rep: string;
	status: string;
	"store.size": string;
	uuid: string;
	select?: boolean;
}

export type { EsIndexInfoPage, EsAliasInfo, EsAliasInfoType, EsIndexInfo };
